package diertian;

import java.util.Scanner;

public class lianxi2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入三个数");
        int num1,num2,num3 ,max;
        num1=scanner.nextInt();
        num2=scanner.nextInt();
        num3=scanner.nextInt();
        max=0;
        max=num1;
        if(max<num2){
            max=num2;
        }
        if(max<num3){
            max=num3;
        }
        System.out.println("max = " + max);


    }
}
